-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add logging.ini to docker config #2010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to add the logging file in https://github.com/bitshares/bitshares-core/blob/develop/Dockerfile#L76
With that the file is created in etc:
$ docker run bitshares:latest ls /etc/bitshares
config.ini
logging.ini
version
$
However i cant find anything in /var/lib/bitshares:
$ docker run bitshares:latest ls /var/lib/bitshares
$
I was expecting a blockchain folder in there as:
$ docker run bitshares:latest
...
2622046ms th_a object_database.cpp:114 open ] Opening object database from /var/lib/bitshares/blockchain ...
...
But it seems not happening.
|
I still think you need to add the logging.ini into DockerFile. how do you see the logs this pull request is creating ? |
I run a testnet container with bind-mounting a local directory for
The logs should end up in the same directory, as usual under |
You're right. Fixed. |
Resolves #1723
Note: IMO the docker build requires an overhaul. Will create a separate ticket for that.